package com.gobo.orderservice.client;

import com.gobo.servicebase.vo.CourseInfoFormVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

@FeignClient("service-edu")
@Component
public interface EduServiceClient {

    @PostMapping("/eduservice/front/course/info/{id}")
    public CourseInfoFormVo getCommonCourseInfoFormVo(@PathVariable("id") String id);

}
